<?php
/**
 * Created by PhpStorm.
 * User: bob
 * Date: 18/8/4
 * Time: 10:20
 */

namespace App\Api\Auth\Requests;

use App\Http\Requests\Request;

class AuthRealRequest extends Request
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'real_name' => 'required',
            'id_num'    => 'required|idNo',
            'pic.hand'  => 'required',
            'pic.face'  => 'required',
            'pic.back'  => 'required',
        ];
    }
}
